#include "StdAfx.h"
#include "CollisionMessages.h"
#include "MessageManager.h"

namespace _MMESSAGE_
{
	namespace _PHYSICS_
	{
		////////////////////Implementation PMM_SetCollisionCheck////////////
		FoImplementRegisterFuntion(PMM_SetCollisionCheck,::_FOGGE_::_MSG_::Message,ePMM_SetCollisionCheck);

		////////////////////Implementation PMM_SetCollisionCheck////////////
		FoImplementRegisterFuntion(PMM_SetActorCollisionGroup,::_FOGGE_::_MSG_::Message,ePMM_SetActorCollisionGroup);

		////////////////////Implementation PMM_SubscribeForCollisionReport////////////
		FoImplementRegisterFuntion(PMM_SubscribeForCollisionReport,::_FOGGE_::_MSG_::Message,ePMM_SubscribeForCollisionReport);

		////////////////////Implementation PMM_PointCollisionCheck////////////
		FoImplementRegisterFuntion(PMM_PointCollisionCheck,::_FOGGE_::_MSG_::Message,ePMM_PointCollisionCheck);

		////////////////////Implementation PMM_LineCollisionCheck////////////
		FoImplementRegisterFuntion(PMM_LineCollisionCheck,::_FOGGE_::_MSG_::Message,ePMM_LineCollisionCheck);

		////////////////////Implementation PMM_ActorCollisionCheck////////////
		FoImplementRegisterFuntion(PMM_ActorCollisionCheck,::_FOGGE_::_MSG_::Message,ePMM_ActorCollisionCheck);

		////////////////////Implementation PMM_CollisionCheckResult////////////
		FoImplementRegisterFuntion(PMM_CollisionCheckResult,::_FOGGE_::_MSG_::Message,ePMM_CollisionCheckResult);


		void RegisterCollisionMessages(::_FOGGE_::_MSG_::MessageManager* ptrMessagaManager)
		{
			PMM_SetCollisionCheck::Register(ptrMessagaManager);
			PMM_SetActorCollisionGroup::Register(ptrMessagaManager);
			PMM_SubscribeForCollisionReport::Register(ptrMessagaManager);
			PMM_PointCollisionCheck::Register(ptrMessagaManager);
			PMM_LineCollisionCheck::Register(ptrMessagaManager);
			PMM_ActorCollisionCheck::Register(ptrMessagaManager);
			PMM_CollisionCheckResult::Register(ptrMessagaManager);
		}
	}
}